package com.flyduck.mall.pms.api;

import com.flyduck.mall.pms.api.vo.RemoteSkuStockReduceReqVO;
import com.flyduck.mall.pms.api.vo.RemoteSkuStockReleaseReqVO;
import com.flyduck.mall.pms.api.vo.RemoteSkuStockRespVO;
import com.flyduck.ss.common.core.domain.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * RemoteSkuStockFallback
 * </p>
 *
 * @author flyduck
 * @since 2024-07-15
 */
@Slf4j
public class RemoteSkuStockServiceMock implements RemoteSkuStockService {
    @Override
    public void batchReduceSkuStock(List<RemoteSkuStockReduceReqVO> remoteSkuStockReduceReqVOList) {
        log.error("减库存失败");
    }

    @Override
    public void batchReleaseSkuStock(List<RemoteSkuStockReleaseReqVO> remoteSkuStockReleaseReqVOList) {
        log.error("释放库存失败");
    }

    @Override
    public RemoteSkuStockRespVO getSkuStock(Long productId, Long skuId) {
        log.error("获取库存失败");
        return null;
    }
}
